package vip

// # VIP-用户

func NewVipGroup() *vipGroup {
	return &vipGroup{}
}

type vipGroup struct {
	relationType uint
	relationId   uint
	productId    uint
	vipType      uint
	logType      uint
}

// ## Getter&Setter

func (v *vipGroup) RelationType() uint {
	return v.relationType
}

func (v *vipGroup) SetRelationType(relationType uint) *vipGroup {
	v.relationType = relationType

	return v
}

func (v *vipGroup) RelationId() uint {
	return v.relationId
}

func (v *vipGroup) SetRelationId(relationId uint) *vipGroup {
	v.relationId = relationId

	return v
}

func (v *vipGroup) ProductId() uint {
	return v.productId
}

func (v *vipGroup) SetProductId(productId uint) *vipGroup {
	v.productId = productId

	return v
}

func (v *vipGroup) VipType() uint {
	return v.vipType
}

func (v *vipGroup) SetVipType(vipType uint) *vipGroup {
	v.vipType = vipType

	return v
}

func (v *vipGroup) LogType() uint {
	return v.logType
}

func (v *vipGroup) SetLogType(logType uint) *vipGroup {
	v.logType = logType

	return v
}
